package cn.powertime.evaluation.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class RespAnswerTestPaperVo implements Serializable {

    @ApiModelProperty(value = "试卷ID")
    private Long testPaperId;

    @ApiModelProperty(value = "考试结果ID")
    private Long resultId;

    @ApiModelProperty(value = "试卷名称", position = 1)
    private String title;

    @ApiModelProperty(value = "试卷类型1:课后作业，2：课程刷题，3：真题模拟，4：测评练习，5：自查工具", position = 2)
    private String type;

    @ApiModelProperty(value = "归属课程", position = 3)
    private String courseName;

    @ApiModelProperty(value = "正确率", position = 4)
    private String accuracy;

    @ApiModelProperty(value = "创建时间", position = 5)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

}
